home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
catn
/
global.n
< prev
next >
Wrap
Text File
|
1994-09-20
|
874b
|
67 lines
global(n) Tcl Built-In Commands
_________________________________________________________________
NAME
global - Access global variables
SYNOPSIS
global _v_a_r_n_a_m_e ?_v_a_r_n_a_m_e ...?
_________________________________________________________________
DESCRIPTION
This command is ignored unless a Tcl procedure is being
interpreted. If so then it declares the given _v_a_r_n_a_m_e's to
be global variables rather than local ones. For the dura-
tion of the current procedure (and only while executing in
the current procedure), any reference to any of the _v_a_r_n_a_m_es
will refer to the global variable by the same name.
KEYWORDS
global, procedure, variable
Tcl 1